package com.atm;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * 启动一个服务注册中心提供给其他应用进行对话
 * @author zengyongfeng
 */
@EnableEurekaServer
@SpringBootApplication
public class CenterApplication {

	private final static Logger logger = LoggerFactory.getLogger(CenterApplication.class);

	public static void main(String[] args) {
		SpringApplication.run(CenterApplication.class, args);
		logger.info("艾特米服务注册中心启动成功!");
	}
}
